/**
 * 版权所有（c）2021. 上海海鼎信息工程股份有限公司，保留所有权利
 */
package com.lovely602.design.structure.decorator;

/**
 * 抽象装饰角色
 *
 * @author lizhixing
 */
public abstract class Decorator implements Component {

  private Component component;

  public Decorator(Component component) {
    this.component = component;
  }

  @Override
  public void operation() {
    component.operation();
  }
}
